package com.diu.test.infrastructure;

import com.diu.infrastructure.persistent.dao.IAwardDao;
import com.diu.infrastructure.persistent.dao.IStrategyDao;
import com.diu.infrastructure.persistent.po.Strategy;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;
import java.util.List;

@SpringBootTest
public class AwardTest {
    @Resource
    IAwardDao awardDao;
    @Resource
    IStrategyDao strategyDao;
    @Test
    public void testQueryAwardList() {
        List<Strategy> list = strategyDao.queryStrategyList();
        for(Strategy strategy : list){
            System.out.println(strategy);
        }
    }
}
